package com.myk.game.heroscuffle.events;

import com.myk.game.heroscuffle.game.Hero;
import com.myk.game.heroscuffle.game.Sign;
import com.myk.game.heroscuffle.game.Skill;

/**
 * 英雄死亡之后触发
 */
public class GameEvent_HeroDead extends GameEventBase {
    public Hero sourceHero; //导致死亡的英雄
    public Skill sourceSkill; //导致死亡的技能
    public Sign sourceSign; //导致死亡的标记
    int damage; //致死的伤害值
    public Hero dead; //死者

    public GameEvent_HeroDead(Hero sourceHero, Skill sourceSkill, Sign sourceSign, int damage, Hero dead) {
        super(dead.game.round);
        this.sourceHero = sourceHero;
        this.sourceSkill = sourceSkill;
        this.sourceSign = sourceSign;
        this.damage = damage;
        this.dead = dead;
    }
}
